//
//  UIColor+Extension.swift
//  XinlangWeibo
//
//  Created by yangyinglei on 2017/3/31.
//  Copyright © 2017年 yangyinglei. All rights reserved.
//

import UIKit

extension UIColor {

    class func radomColor()->UIColor{
        
        let red = Float(arc4random_uniform(256)) / 255.0
        let green = Float(arc4random_uniform(256)) / 255.0
        let blue = Float(arc4random_uniform(256)) / 255.0
        
        
    let color = UIColor(colorLiteralRed: red, green: green, blue: blue, alpha: 1.0)
        
    return color

    }

}
